package net.wenku8.reader.model.book;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("book")
public class BookCaseItem {

    @XStreamAlias("aid")
    @XStreamAsAttribute
    String bookId;
    @XStreamAsAttribute
    String date;
    @XStreamAsAttribute
    String name;
    Chapter chapter;

    Boolean virtually = false;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Chapter getChapter() {
        return chapter;
    }

    public void setChapter(Chapter chapter) {
        this.chapter = chapter;
    }

    public Boolean getVirtually() {
        return virtually;
    }

    public void setVirtually(Boolean virtually) {
        this.virtually = virtually;
    }
}
